package com.tianxiabuyi.model.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * 问卷调查问题选项<br>
 * @author yangh
 */
@Entity
@Table(name = "survey_options")
public class SurveyOptions extends TXBYObject {
	@Column(name="quest_id")@JSONField(name = "quest_id")
	private Integer questId;       // 所属问题
	@Column(name="show_order")@JSONField(name = "show_order")
	private Integer showOrder;     // 排序
	private String content;        // 答案内容
	private Integer score;         // 得分
	
	public SurveyOptions() {
		super();
		this.score = 0;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}
	
	public Integer getQuestId() {
		return questId;
	}
	
	public void setQuestId(Integer questId) {
		this.questId = questId;
	}
	
	public Integer getShowOrder() {
		return showOrder;
	}
	
	public void setShowOrder(Integer showOrder) {
		this.showOrder = showOrder;
	}
		
	public String getContent() {
		return content;
	}
	
	public void setContent(String content) {
		this.content = content;
	}
}